.main-content {
    margin-bottom: 10%;
}

img {
    padding: 0;
    margin: 0;
}


/* ======================1、顶部广告区域============= */
header {
    height: 1.5rem;
    font-size: .5rem;
    overflow: hidden;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;

}

header ul li {
    height: 1.5rem;
    background-color: #333;
    float: left;
    text-align: center;
    line-height: 1.5rem;
    color: #fff;
    font-weight: 500;
}

header ul li:nth-child(1) {
    width: 8%;
}

header ul li:nth-child(2) {
    width: 10%;
}

header ul li:nth-child(3) {
    width: 57%;
}

header ul li:nth-child(4) {
    width: 25%;
    background-color: #F63515;
}

header ul li:nth-child(1) img {
    width: 10px;
}

header ul li:nth-child(2) img {
    width: 30px;
    /* 图片是行内块，要垂直居中对齐要加这句话 */
    vertical-align: middle;
}

/* =============2、搜索内容区域==================== */
.header-search {
    z-index: 10;
    display: flex;
    position: fixed;
    /* 固定定位*/
    height: 44px;
    width: 100%;
    min-width: 320px;
    max-width: 750px;
    /* 子盒子加外边距会把父亲带动，加下面解决 */
    overflow: hidden;
    background-image: linear-gradient(0deg, #f1503b, #c82519 50%);
}

.msCancelBtn {
    /* background-color: pink; */
    /* height: 44px; */
    /* width: 40px; */
    width: 10%;
}

.msCancelBtn div {
    /* border: 1px solid blue; */
    width: 20px;
    height: 18px;
    background: url(../images/search1.png) no-repeat;
    background-size: 100%;
    margin: 14px 0 0 15px;
}

.msShortcutLogin {
    /* background-color: pink; */
    /* height: 44px; */
    /* width: 40px; */
    width: 10%;
    text-align: center;
    color: #fff;
    line-height: 44px;
    font-size: .6rem;
}

.header-search-form {
    flex: 1;
    /* height: 30px; */
    margin: 8px 5px;
    border-radius: 15px;
    background-color: #fff;
    position: relative;
}

.jd-header-icon {
    /* border: 1px blue solid; */
    width: 20px;
    height: 15px;
    background: url(../images/jd-icon.png) no-repeat;
    background-size: 100%;
    position: absolute;
    top: 8px;
    left: 15px;
}

.jd-header-icon::after {
    content: '';
    display: block;
    width: .1px;
    height: 15px;
    background-color: #ccc;
    position: absolute;
    top: 0;
    right: -5px;
}

.search-input-left-icon {
    /* border: 1px blue solid; */
    display: block;
    width: 18px;
    height: 15px;
    line-height: 15px;
    float: left;
    position: absolute;
    top: 9px;
    left: 50px;
}

.header-search-form input {
    font-size: .5rem;
    color: #232326;
    padding-left: 5px;
    height: auto;
    margin: 5px 0 0 0;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 70%;
    line-height: 20px;
    border: none;
    outline: none;
    position: absolute;
    top: 0px;
    left: 25%;
}

/* ======3、轮播图===== */
.silder {
    margin-top: 1rem;
    overflow: hidden;
    height: 8rem;
}

.silder ul li img {
    width: 100%;
    border-radius: 20px;
}

/*轮播图-复制Swiper样式*/
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

/* =====4、品牌日===== */
.brand {
    display: flex;
}

.brand img {
    padding: 0;
    margin: 0;
}

.brand div a {
    width: 100%;
}

.brand img {
    width: 100%;
}


/* =====5、小图标nav===== */
.box_list {
    /* overflow: hidden; */
    flex-wrap: wrap;
    display: flex;
    padding-top: 5px;
}

.box_list a {
    /* float: left; */
    width: 20%;
    box-sizing: border-box;
    text-align: center;
    font-size: .6rem;
    /* border: 2px blue solid; */
}

.box_list .tp {
    width: 50%;
    /* border: 1px red solid; */
    margin: 0 auto;
}

.box_list .tp img {
    width: 40px;
    margin: 10px 0;
}

.box_list a span {
    display: block;
}

/* =====6、限时秒杀===== */
.seckill {
    margin: 10px 0;
    overflow: hidden;
    box-sizing: border-box;
    background-color: white;
    border-radius: 5px 5px 0 0;
}

.title_wrap {
    box-sizing: border-box;
    margin: 10px 0;
    height: 1.7rem;
    line-height: 1.7rem;
    width: 100%;
    font-size: .7rem;
    letter-spacing: .05em;
    padding: 0 5px;
    /* border: 1px red solid; */
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

.title_wrap a:nth-child(1) {
    flex-grow: 1;
    /* border: red 1px solid; */
}

.seckill-left-link {
    overflow: hidden;
}

.seckill-title {
    width: 27%;
    /* padding: 0px 5px; */
    font-size: .7rem;
    height: 1.35rem;
    line-height: 1.2;
    margin-top: .4rem;
    margin-left: .5rem;
    /* border: red 1px solid; */
    float: left;
}

.seckill-timer-wrap {
    font-size: .6rem;
    box-sizing: border-box;
    width: 60%;
    border: red 1px solid;
    border-radius: .4rem;
    height: .9rem;
    line-height: .9rem;
    margin-top: .4rem;
    float: left;
}

.seckill-timer-wrap span {
    box-sizing: border-box;
    background-color: red;
    border-radius: 30px;
    padding: 2px 10px;
    color: white;
}

.seckill-timer-wrap i {
    font-size: .6rem;
    color: red;
    font-weight: bolder;
    font-style: normal;
}

.seckill-right-link {
    color: red;
}


.seckill-slider {
    overflow: hidden;
    width: 100%;
    /* border: 1px blue solid; */
    box-sizing: border-box;
    text-align: center;
}

.seckill-slider ul {
    display: flex;
}

.seckill-slider ul li {
    box-sizing: border-box;
    /* width: 25%;
    float: left; 这是百分比布局，下面flex是弹性布局 */
    flex: 1;
    /* border: 1px red solid; */
}

.seckill-item-img img {
    width: 100%;
}

.seckill-item-price {
    /* border: 1px blue solid; */
    margin-top: 10px;
    margin-bottom: 10px;
}

.seckill-item-price div {
    color: red;
    font-size: .7rem;
    line-height: .7rem;
    font-weight: 500;
}

.seckill-item-price del {
    color: rgb(177, 172, 172);
    font-weight: 100;
    font-size: .6rem;
}

/* =====7、卡券区域======= */
.floor-the-container {
    box-sizing: border-box;
}

.kq-img-top {
    overflow: hidden;
    margin: 0 15px;

}

.floor-the-container .kq-img-top img {
    width: 50%;
    float: left;
}

.kq-img-bottom {
    box-sizing: border-box;
    margin-top: 5px;
    /* border: 5px solid red; */
}

.kq-img-bottom img {
    width: 100%;
}

/* ========8、东家小院=========== */
.expo_loaded,
.every_buy {
    /* border: 1px solid red; */
    margin: 5px 10px;
}

.djxy-title img {
    width: 100%;
    /* border: 1px blue solid; */
}

.djxy-contain {
    background-color: white;
    overflow: hidden;

}

.djxy-middle {
    width: 100%;
    overflow: hidden;

}

.djxy-middle span {
    box-sizing: border-box;

    width: 50%;
    float: left;
    border: 1px #F6F6F6 solid;

}

.djxy-middle span p {
    /* border: 1px blue solid; */
    color: blue;
    font-size: .8rem;
    margin: 3px;
}

.djxy-middle span i {
    /* border: 1px blue solid; */
    color: rgb(165, 161, 161);
    font-size: .7rem;
    margin: 3px;
}

.djxy-middle span div a {
    box-sizing: border-box;
    float: left;
    width: 45%;
    margin: 2%;
    /* border: 1px blue solid; */

}

.djxy-middle span div a img {
    width: 100%;
}

.djxy-footer {
    margin-top: 0px;
    /* overflow: hidden; */
    /* border: 1px red solid; */
}

.djxy-footer ul {
    /* overflow: hidden; */
    display: flex;
}

.djxy-footer ul li {
    box-sizing: border-box;
    padding: 1%;
    /* float: left; */
    width: 25%;
    border: 1px #F6F6F6 solid;

}

.djxy-footer ul li p,
.every_buy li p {
    font-weight: 600;
    font-size: .8rem;
    padding-left: 10px;
    /* border: 1px red solid; */
}

.djxy-footer ul li i,
.every_buy ul li i {
    color: rgb(119, 116, 116);
    font-size: .7rem;
    padding-left: 12px;
    display: block;
    /* border: 1px red solid; */
}

.djxy-footer ul li a {
    display: block;
    /* border: 1px red solid; */
    width: 100%;
}

.djxy-footer ul li a img,
.every_buy ul li a img {
    width: 100%;
}

/* ========9、每日购区域==上面模块8也有它的样式======= */
.every_buy ul {
    /* border: 1px red solid; */
    display: flex;
    flex-wrap: wrap;
    /* overflow: hidden; */
    background-color: white;
}

.every_buy ul li {
    box-sizing: border-box;
    border: 1px #F6F6F6 solid;
    /* float: left; */
    width: 25%;
}

.every_buy ul li a {
    display: block;
    margin: 0 auto;
    width: 60%;
}

/* ======10、为你推荐区域======== */
.send_to {
    box-sizing: border-box;
    /* border: 1px red solid; */
    margin: 0 10px;
    margin-top: 3%;
    overflow: hidden;
}

.send_to img {
    width: 100%;
}

.send_to ul {
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.send_to ul li {
    box-sizing: border-box;
    border: 1px solid #F6F6F6;
    background-color: white;
    /* float: left; */
    width: 49%;
    /* padding: 1%; */
    margin: .3%;

}

.send_to ul li span {
    font-size: .5rem;
    display: block;
    overflow: hidden;
    padding: 2%;

}


.send_to ul li span img {
    width: 100%;
}

.send_to ul li span i {
    color: red;
    float: left;
}

.send_to ul li span div {
    float: right;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1%;
}

.desc_goods {
    box-sizing: border-box;
    display: block;
    margin-bottom: 2%;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
    /* border: 1px red solid; */
}

/* =========11、底部用户区域=========== */